package com.yfj.service;

import com.yfj.entity.People;

public interface IndexService {
	
	/**
	 * 登录业务,从前端获取People对象(具体在ajax传值到controller参数设置)
	 * 根据identity决定调用哪个Dao的queryByid()
	 * 返回查询到的people
	 * @param p
	 * @return
	 */
	People login(long id,String identity);
}
